﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Drawing;

namespace CUIT.GraduationProject.ToolBoxSystem.PropertyLib
{
    /// Customer class to be displayed in the property grid /// </summary> /// [DefaultPropertyAttribute("Name")] 
    public class ControlProperty
    {
        private string name;
        private string backColor;
        private Point location;
        private bool visible;
        private Size size;

        [CategoryAttribute("ID Settings"), DescriptionAttribute("Name of the Control")]
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        [CategoryAttribute("ID Settings"), DescriptionAttribute("BackColor of the Control")]
        public string BackColor
        {
            get
            {
                return backColor;
            }
            set
            {
                backColor = value;
            }
        }

        [CategoryAttribute("ID Settings"), DescriptionAttribute("Location of the Control")]
        public Point Location
        {
            get
            {
                return location;
            }
            set
            {
                location = value;
            }
        }

        [CategoryAttribute("Marketting Settings"), DescriptionAttribute("The size of Control")]
        public Size Size
        {
            get { return size; }
            set { size = value; }
        }

        [CategoryAttribute("Marketting Settings"), DescriptionAttribute("Visible of the Control")]
        public bool Visible
        {
            get { return visible; }
            set { visible = value; }
        }
        public ControlProperty() { }
    }

}
